//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-04B
TN_Widget.CreateTable([['Boston Ballet: Spring Experience','Citizens Bank Opera House','Boston, MA','Thursday','5/9/2024','7:30 PM','5735247','Boston-Ballet--Spring-Experience-5-9-2024'],['Boston Ballet: Spring Experience','Citizens Bank Opera House','Boston, MA','Friday','5/10/2024','7:30 PM','5735248','Boston-Ballet--Spring-Experience-5-10-2024'],['Boston Ballet: Spring Experience','Citizens Bank Opera House','Boston, MA','Saturday','5/11/2024','7:30 PM','5735249','Boston-Ballet--Spring-Experience-5-11-2024'],['Boston Ballet: Spring Experience','Citizens Bank Opera House','Boston, MA','Sunday','5/12/2024','1:30 PM','5735250','Boston-Ballet--Spring-Experience-5-12-2024'],['Boston Ballet: Spring Experience','Citizens Bank Opera House','Boston, MA','Thursday','5/16/2024','7:30 PM','5735251','Boston-Ballet--Spring-Experience-5-16-2024'],['Boston Ballet: Spring Experience','Citizens Bank Opera House','Boston, MA','Friday','5/17/2024','7:30 PM','5735252','Boston-Ballet--Spring-Experience-5-17-2024'],['Boston Ballet: Spring Experience','Citizens Bank Opera House','Boston, MA','Saturday','5/18/2024','1:30 PM','5735255','Boston-Ballet--Spring-Experience-5-18-2024'],['Boston Ballet: Spring Experience','Citizens Bank Opera House','Boston, MA','Saturday','5/18/2024','7:30 PM','5735253','Boston-Ballet--Spring-Experience-5-18-2024'],['Boston Ballet: Spring Experience','Citizens Bank Opera House','Boston, MA','Sunday','5/19/2024','1:30 PM','5735254','Boston-Ballet--Spring-Experience-5-19-2024'],['Boston Symphony Orchestra & Boston Ballet: Andris Nelsons - Stravinsky & Rimsky-Korsakov','Tanglewood','Lenox, MA','Friday','7/12/2024','10:30 AM','6246278','Boston-Symphony-Orchestra---Boston-Ballet--Andris-Nelsons---Stravinsky---Rimsky-Korsakov-7-12-2024'],['Boston Symphony Orchestra: Andris Nelsons & Boston Ballet','Tanglewood','Lenox, MA','Friday','7/12/2024','8:00 PM','6246277','Boston-Symphony-Orchestra--Andris-Nelsons---Boston-Ballet-7-12-2024'],['Boston Ballet: The Nutcracker','Citizens Bank Opera House','Boston, MA','Friday','11/29/2024','7:30 PM','6382566','Boston-Ballet--The-Nutcracker-11-29-2024'],['Boston Ballet: The Nutcracker','Citizens Bank Opera House','Boston, MA','Saturday','11/30/2024','1:30 PM','6382567','Boston-Ballet--The-Nutcracker-11-30-2024'],['Boston Ballet: The Nutcracker','Citizens Bank Opera House','Boston, MA','Saturday','11/30/2024','7:30 PM','6382568','Boston-Ballet--The-Nutcracker-11-30-2024'],['Boston Ballet: The Nutcracker','Citizens Bank Opera House','Boston, MA','Sunday','12/1/2024','1:30 PM','6382569','Boston-Ballet--The-Nutcracker-12-1-2024'],['Boston Ballet: The Nutcracker','Citizens Bank Opera House','Boston, MA','Sunday','12/1/2024','6:00 PM','6382570','Boston-Ballet--The-Nutcracker-12-1-2024'],['Boston Ballet: The Nutcracker','Citizens Bank Opera House','Boston, MA','Wednesday','12/4/2024','7:30 PM','6382571','Boston-Ballet--The-Nutcracker-12-4-2024'],['Nutcracker! Magical Christmas Ballet','Wang Theater At The Boch Center','Boston, MA','Thursday','12/5/2024','7:00 PM','6375420','Nutcracker--Magical-Christmas-Ballet-12-5-2024'],['Boston Ballet: The Nutcracker','Citizens Bank Opera House','Boston, MA','Thursday','12/5/2024','7:30 PM','6382572','Boston-Ballet--The-Nutcracker-12-5-2024'],['Boston Ballet: The Nutcracker','Citizens Bank Opera House','Boston, MA','Friday','12/6/2024','1:30 PM','6382573','Boston-Ballet--The-Nutcracker-12-6-2024'],['Boston Ballet: The Nutcracker','Citizens Bank Opera House','Boston, MA','Friday','12/6/2024','7:30 PM','6382574','Boston-Ballet--The-Nutcracker-12-6-2024'],['Boston Ballet: The Nutcracker','Citizens Bank Opera House','Boston, MA','Saturday','12/7/2024','1:30 PM','6382575','Boston-Ballet--The-Nutcracker-12-7-2024'],['Boston Ballet: The Nutcracker','Citizens Bank Opera House','Boston, MA','Saturday','12/7/2024','7:30 PM','6382576','Boston-Ballet--The-Nutcracker-12-7-2024'],['Boston Ballet: The Nutcracker','Citizens Bank Opera House','Boston, MA','Sunday','12/8/2024','1:30 PM','6382577','Boston-Ballet--The-Nutcracker-12-8-2024'],['Boston Ballet: The Nutcracker','Citizens Bank Opera House','Boston, MA','Sunday','12/8/2024','6:00 PM','6382578','Boston-Ballet--The-Nutcracker-12-8-2024'],['Boston Ballet: The Nutcracker','Citizens Bank Opera House','Boston, MA','Tuesday','12/10/2024','7:30 PM','6382579','Boston-Ballet--The-Nutcracker-12-10-2024'],['Boston Ballet: The Nutcracker','Citizens Bank Opera House','Boston, MA','Wednesday','12/11/2024','7:30 PM','6382580','Boston-Ballet--The-Nutcracker-12-11-2024'],['Boston Ballet: The Nutcracker','Citizens Bank Opera House','Boston, MA','Thursday','12/12/2024','7:30 PM','6382581','Boston-Ballet--The-Nutcracker-12-12-2024'],['Boston Ballet: The Nutcracker','Citizens Bank Opera House','Boston, MA','Friday','12/13/2024','1:30 PM','6382582','Boston-Ballet--The-Nutcracker-12-13-2024'],['Boston Ballet: The Nutcracker','Citizens Bank Opera House','Boston, MA','Friday','12/13/2024','7:30 PM','6382583','Boston-Ballet--The-Nutcracker-12-13-2024'],['Boston Ballet: The Nutcracker','Citizens Bank Opera House','Boston, MA','Saturday','12/14/2024','1:30 PM','6382584','Boston-Ballet--The-Nutcracker-12-14-2024'],['Boston Ballet: The Nutcracker','Citizens Bank Opera House','Boston, MA','Saturday','12/14/2024','7:30 PM','6382585','Boston-Ballet--The-Nutcracker-12-14-2024'],['Boston Ballet: The Nutcracker','Citizens Bank Opera House','Boston, MA','Sunday','12/15/2024','1:30 PM','6382586','Boston-Ballet--The-Nutcracker-12-15-2024'],['Boston Ballet: The Nutcracker','Citizens Bank Opera House','Boston, MA','Sunday','12/15/2024','6:00 PM','6382587','Boston-Ballet--The-Nutcracker-12-15-2024'],['Boston Ballet: The Nutcracker','Citizens Bank Opera House','Boston, MA','Tuesday','12/17/2024','7:31 PM','6382588','Boston-Ballet--The-Nutcracker-12-17-2024'],['Boston Ballet: The Nutcracker','Citizens Bank Opera House','Boston, MA','Wednesday','12/18/2024','1:30 PM','6382589','Boston-Ballet--The-Nutcracker-12-18-2024'],['Boston Ballet: The Nutcracker','Citizens Bank Opera House','Boston, MA','Wednesday','12/18/2024','7:30 PM','6382590','Boston-Ballet--The-Nutcracker-12-18-2024'],['Boston Ballet: The Nutcracker','Citizens Bank Opera House','Boston, MA','Thursday','12/19/2024','1:30 PM','6382591','Boston-Ballet--The-Nutcracker-12-19-2024'],['Boston Ballet: The Nutcracker','Citizens Bank Opera House','Boston, MA','Thursday','12/19/2024','7:30 PM','6382592','Boston-Ballet--The-Nutcracker-12-19-2024'],['Boston Ballet: The Nutcracker','Citizens Bank Opera House','Boston, MA','Friday','12/20/2024','1:30 PM','6382593','Boston-Ballet--The-Nutcracker-12-20-2024'],['Boston Ballet: The Nutcracker','Citizens Bank Opera House','Boston, MA','Friday','12/20/2024','7:30 PM','6382594','Boston-Ballet--The-Nutcracker-12-20-2024'],['Boston Ballet: The Nutcracker','Citizens Bank Opera House','Boston, MA','Saturday','12/21/2024','1:30 PM','6382595','Boston-Ballet--The-Nutcracker-12-21-2024'],['Boston Ballet: The Nutcracker','Citizens Bank Opera House','Boston, MA','Saturday','12/21/2024','7:30 PM','6382596','Boston-Ballet--The-Nutcracker-12-21-2024'],['Boston Ballet: The Nutcracker','Citizens Bank Opera House','Boston, MA','Sunday','12/22/2024','1:30 PM','6382597','Boston-Ballet--The-Nutcracker-12-22-2024'],['Boston Ballet: The Nutcracker','Citizens Bank Opera House','Boston, MA','Sunday','12/22/2024','6:00 PM','6382598','Boston-Ballet--The-Nutcracker-12-22-2024'],['Boston Ballet: The Nutcracker','Citizens Bank Opera House','Boston, MA','Friday','12/27/2024','1:30 PM','6382599','Boston-Ballet--The-Nutcracker-12-27-2024'],['Boston Ballet: The Nutcracker','Citizens Bank Opera House','Boston, MA','Friday','12/27/2024','7:30 PM','6382600','Boston-Ballet--The-Nutcracker-12-27-2024'],['Boston Ballet: The Nutcracker','Citizens Bank Opera House','Boston, MA','Saturday','12/28/2024','1:30 PM','6382601','Boston-Ballet--The-Nutcracker-12-28-2024'],['Boston Ballet: The Nutcracker','Citizens Bank Opera House','Boston, MA','Saturday','12/28/2024','7:30 PM','6382602','Boston-Ballet--The-Nutcracker-12-28-2024'],['Boston Ballet: The Nutcracker','Citizens Bank Opera House','Boston, MA','Sunday','12/29/2024','1:30 PM','6382603','Boston-Ballet--The-Nutcracker-12-29-2024']],'Boston Ballet','http://www.ticketnetwork.com/ticket/Boston-Ballet-events.aspx');